﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace WoodAdmin.Models.ViewModels
{
    public class LoginModel
    {
        [Required(ErrorMessage = "请填写邮箱/手机号/用户名！")]
        [DataType(DataType.EmailAddress)]
        public string Email { get; set; }


        [Required(ErrorMessage = "请填写您的登录密码！")]
        [DataType(DataType.Password)]
        public string Password { get; set; }
    }
}
